

local BlockWorld = commonlib.inherit(commonlib.ToolBase, commonlib.gettable("BlockEngine.BlockWorld"));


function BlockWorld:ctor()
    self.m_rawworld = nil;
end

function BlockWorld:Init(worldname)
    self.m_worldname = worldname or "empty";
    -- self.m_rawworld = commonlib.MakeRawBlockWorld(worldname);
    self.m_rawworld = commonlib.MakeRawWorld(worldname);

    self.m_rawworld:Load();

    return self;
end

function BlockWorld:GetRawWorld()
    return self.m_rawworld;
end

return BlockWorld;